package com.jack.payment.entity.filter;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 交易筛选
 */
public class PayFilter {

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @Schema(description = "调用支付信息流水")
    public static class PayAttachFilter extends CommonPaging.TimeFilter implements Serializable {
        @Schema(description = "流水状态")
        private Integer status;
        @Schema(description = "渠道")
        private Integer channel;
        @Schema(description = "用户")
        private String userId;
        @Schema(description = "环境选择")
        private Integer paymentEnv;
        @Schema(description = "平台")
        private String payPlatform;
        @Schema(description = "订单号")
        private String orderNo;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @Schema(description = "请求流水信息")
    public static class BillingFilter extends  CommonPaging.TimeFilter implements Serializable {
        @Schema(description = "流水状态")
        private Integer status;
        @Schema(description = "渠道")
        private Integer channel;
        @Schema(description = "用户")
        private String userId;
        @Schema(description = "环境选择")
        private Integer paymentEnv;
        @Schema(description = "订单号")
        private String orderNo;
        @Schema(description = "排序字段")
        private Integer orderBy;
    }
}
